; Main window
Gui, Add, ListBox, x2 y0 w310 h200 vmain_lst_filelist ReadOnly
;~ Gui, Add, CheckBox, x2 y200 w80 h30 vmain_chk_hotkey gmain_chk_hotkey, use hotkey
;~ Gui, Add, Hotkey, x92 y205 w80 h20 vmamin_key_hotkey, 
Gui, Add, CheckBox, x2 y230  h30 vmain_chk_err gmain_chk_err Checked, auto show err
Gui, Add, Button, x212 y210 w100 h30 vmain_btn_start gmain_btn_start, &Start
Gui, Add, Text, x2 y260 w270 h15 vmain_txt_status
Gui, Add, Button, x282 y250 w30 h20 gmain_btn_err, &Err

; Error window
Gui, 2:Add, Edit, x12 y10 w450 h310 Multi ReadOnly verr_edit_msg,
Gui, 2:Add, Button, x362 y330 w100 h30 gerr_btn_ok , Ok